<%@ 
page language="java" 
import="java.util.*" 
import="com.csd.helper.IConstant"
import="com.csd.vo.UserVO"
pageEncoding="UTF-8"
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@page isELIgnored="false" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
HttpSession s = request.getSession();
UserVO uvo =  (UserVO)s.getAttribute(IConstant.userVO);
if(uvo==null || !uvo.getType().equals(IConstant.managerRole))
{
	response.sendRedirect(path+"/common/error.jsp?info=Sorry, you ware not login, yet!");
	return;
}
String user_name = uvo.getName();
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理员欢迎</title>
<link href="<%=path%>/admin/css/admin_right.css" rel="stylesheet" type="text/css" />
</head>

<body>
    <div class="main">
        <h1>欢迎回来！</h1>
        <hr />
        <br />
        <h3>&nbsp;&nbsp;您好<span><%=user_name %></span>, 我们的超级管理员！</h3>
    </div>
</body>
</html>

